<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST">
  <!-- 课程分类 -->
  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">请选择人员:</label>
    <div class="col-xs-12 col-sm-8">
      {:build_select('business[adminid]', $admin, null, ['class'=>'selectpicker', 'required'=>''])}
    </div>
  </div>
  {foreach $business as $item}
  <div class="form-group">
    <label for="nickname" class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input type="text" readonly class="form-control" id="nickname" name="nickname" placeholder="{:__('Nickname')}"
        value="{$item.nickname}" />
    </div>
  </div>
  {/foreach}
  <div class="form-group hidden layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
      <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
      <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
    </div>
  </div>
</form>